<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="com.are.odisea.*"%>
<%@include file="../validausuario.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Adjuntar Evidencia</title>
	<link rel="stylesheet" href="../themes/redmond/jquery.ui.all.css">
	<LINK REL="stylesheet" TYPE="text/css" HREF="../main.css">
	<script src="../ui/jquery-1.8.0.js" language="JavaScript"></script>
	<script src="../ui/jquery.ui.core.js" language="JavaScript"></script>
	<script src="../ui/jquery.ui.widget.js" language="JavaScript"></script>
	<script src="../ui/jquery.ui.tabs.js" language="JavaScript"></script>
	<script src="../ui/jquery.ui.button.js"></script>
	<script src="../ui/jquery.effects.core.js"></script>
	<script src="../ui/jquery.effects.slide.js"></script>
	<script src="../ui/jquery.ui.datepicker.js"></script>
	<script src="../ui/jquery.effects.explode.js"></script>
	<script src="../ui/jquery.effects.fold.js"></script>
	<script src="../ui/jquery.effects.slide.js"></script>
	<script type="text/javascript">
	$( "input:submit, a, button", ".demo" ).button();
	$( "input:button, a, button", ".demo" ).button();
	function ActualizarPadre(){ 
		window.opener.listE();
		window.close();
	}
	function Cancelar(){ 
		window.close();
	}
	</script>
</head>
<body onUnload="ActualizarPadre()">
<div class="demo">
<div id="effect" class="ui-widget-content ui-corner-all">
		<h3 class="ui-widget-header ui-corner-all" style="text-align:center;">Cargue de Archivos Adjuntos</h3>
		<p class="validateTips"></p>
			<form name="form1" id="form1" method="post" enctype='multipart/form-data' action="../SrvEvidenciaCap?operacion=add&id_cap=<%=request.getParameter("id_cap")%>">
			<p class="validateTip"></p>
			
            <div style="width:640;">
            <table style="width: 100%;">
            <tr>
                <td>
                    Imagen</td>
                <td>
                    <input id="documento" name="documento" type="file" /></td>
            </tr>
            <tr>
				<td colspan=3>
				<div id="MsgResult"></div>
				<div id="Titulo" style="width: 100%; text-align:center;">
				<input type="submit" name="cmd_agregar" id="cmd_agregar" value = "Agregar Imagen">
				<input type="button" name="cmd_Cancel" id="cmd_Cancel" value="Cancelar" Onclick="Cancelar()">
				</div>
				</td>
			</tr>
        </table>
            </div>
            
</form>
		
	</div>
</div>
</body>
</html>